﻿package frEngine.shader.registType.base
{

    public class ConstParamBase extends RegistParam
    {
        public var hasSeting:Boolean = false;

        public function ConstParamBase(param1:String, param2:int, param3:String, param4)
        {
            super(param1, param2, param3, param4);
            return;
        }// end function

        public function changeValue1(param1:int, param2:Number) : void
        {
            value[param1] = param2;
            this.hasSeting = false;
            return;
        }// end function

        public function changeValue2(param1:Number, param2:Number) : void
        {
            value[0] = param1;
            value[1] = param2;
            this.hasSeting = false;
            return;
        }// end function

        public function changeValue3(param1:Number, param2:Number, param3:Number) : void
        {
            value[0] = param1;
            value[1] = param2;
            value[2] = param3;
            this.hasSeting = false;
            return;
        }// end function

        public function changeValue4(param1:Number, param2:Number, param3:Number, param4:Number) : void
        {
            value[0] = param1;
            value[1] = param2;
            value[2] = param3;
            value[3] = param4;
            this.hasSeting = false;
            return;
        }// end function

    }
}
